module.exports = {
	showModalLogin:()=>{
		let token = uni.getStorageSync("token")?uni.getStorageSync("token"):""
		if (token){
			return true
		}else{
		
			return false
		}
		
	},
	showModalDeleteAccount:(callback)=>{
		uni.showModal({
			title:"提示",
			content:'注销后账户不可恢复，请谨慎操作!!!',
			confirmColor:"#FC011A",
			success() {
				callback&&callback()
			}
		})
	},
	showModalLogout:(callback)=>{
		uni.showModal({
			title:"提示",
			content:'确认退出登录?',
			confirmColor:"#3989FC",
			success() {
				callback&&callback()
			}
		})
	}
}